<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="test" class="demo"></div>
<div id="test1" class="demo"></div>
<script src="../res/plugins/jquery/jquery-2.2.0.js"></script>
<script src="../res/plugins/bootstrap-hello/bootstrap-hello.js"></script>
<script>
    var demo = $(".demo").bootstrapHello({
        a:"AAA",
        onCallback : function(e,type,pageIndex,pageSize){
            console.log(arguments);
            alert("abcd");
        }
    });
    console.log("demo ele");
    console.log(demo);

    var pages = $("#test").bootstrapHello("getPages");
    console.log(pages);



</script>
</body>
</html>